﻿var fnCustomAdd = function () {
    var elements = YAHOO.util.Dom.getElementsByClassName('bd', 'div')[0];
    //d.style.width = 600;
    //d.style.height = 400;
    document.getElementById("EditUIWindow").src = "../Crm/SendMessage.aspx";
    // 
    var w = [],
        h = [];
    w.push(600);
    h.push(460);
    YAHOO.example.container.dialog1.configWidth(null, w);
    YAHOO.example.container.dialog1.configHeight(null, h);
    //
    YAHOO.example.container.dialog1.render();
    YAHOO.example.container.dialog1.fillHeight(elements);
    YAHOO.example.container.dialog1.show();
}

   